package com.example.shop_2302.room

import androidx.room.Database
import androidx.room.RoomDatabase

/**
 * 数据库
 */
@Database(entities = [Record::class,Comment::class], version = 2, exportSchema = false)
abstract class AppDataBase:RoomDatabase() {
    abstract fun getRecordDao():RecordDao
    abstract fun getCommentDao():CommentDao
}